#ifndef FORMAT_H
#define FORMAT_H

#include <QObject>

class Format: public QObject
{
    Q_OBJECT
public:
    explicit Format(QObject *parent = 0);
    QByteArray login_data(QString _name,QString _passwd);
    QByteArray reg_data(QString _name,QString _passwd);
    QByteArray msg_data(QString _token,QString _recver,QString _msg);
    QByteArray check_conn_data();


};

#endif // FORMAT_H
